package pers.zc.activiti.shejimoshi.guanchazhe.gcz3;

/**
 * @description 测试类
 * @Author Lin FuYuan
 * @date 2020/1/6
 */
public class Test {
    /**
     * 通知job运行, 当job 执行后状态改变后,通知更改状态
     * @author Lin FuYuan
     * @param args
     * @date 2020/1/6
     * @return void
     */
    public static void main(String[] args) {
        Entity entity = new Entity(1L,"name","开始","result");
        Entity entity2 = new Entity(2L,"name","开始","result");
        Task task = new TaskImpl(entity);
        Task task2 = new TaskImpl(entity2);
        Job job = new JobImpl();
        job.run(task);
        job.run(task2);
    }
}
